package com.bootdo.common.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.common.dao.OssStorageDao;
import com.bootdo.common.domain.OssStorageDO;
import com.bootdo.common.service.OssStorageService;



@Service
public class OssStorageService  {
	@Autowired
	private OssStorageDao ossStorageDao;
	
	
	public OssStorageDO get(Integer id){
		return ossStorageDao.get(id);
	}
	
	
	public List<OssStorageDO> list(Map<String, Object> map){
		return ossStorageDao.list(map);
	}
	public List<OssStorageDO> list2(){
		return ossStorageDao.list2();
	}

	public List<OssStorageDO> list(){
		return ossStorageDao.list();
	}
	
	public int count(Map<String, Object> map){
		return ossStorageDao.count(map);
	}
	
	
	public int save(OssStorageDO ossStorage){
		return ossStorageDao.save(ossStorage);
	}
	
	
	public int update(OssStorageDO ossStorage){
		return ossStorageDao.update(ossStorage);
	}
	
	
	public int remove(Integer id){
		return ossStorageDao.remove(id);
	}
	
	
	public int batchRemove(Integer[] ids){
		return ossStorageDao.batchRemove(ids);
	}
	
}
